.smap-menu {
  position: absolute;
  left: 14px;
  top: 50%;
  background-color: #fff;
  box-shadow: 2px 2px 7.7px 0 rgb(146 159 202 / 19%), 0 0 1px 1px rgb(255 255 255 / 45%) inset;
  border-radius: 12px;
  width: 60px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 14px 0;
  transition: left 0.2s ease;

  &-hot {
    width: 12px;
    height: 26px;
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;

    > div {
      width: 4px;
      height: 13px;
      background-color: #c6c6c6;
      left: 4px;
      position: absolute;
      transition: all 0.2s ease;
    }

    .hot-line1 {
      border-top-left-radius: 4px;
      border-top-right-radius: 4px;
      top: 0;
      transform-origin: 50% 0;
    }

    .hot-line2 {
      border-bottom-left-radius: 4px;
      border-bottom-right-radius: 4px;
      bottom: 0;
      transform-origin: 50% 100%;
    }

    &:hover {
      color: #333437;

      .hot-line1,
      .hot-line2 {
        background-color: #45454e;
      }

      .hot-line1 {
        transform: rotate(17deg) translateY(1px);
        border-bottom-left-radius: 10px;
        height: 16px;
      }

      .hot-line2 {
        transform: rotate(-17deg) translateY(-1px);
        border-top-left-radius: 10px;
        height: 16px;
      }
    }
  }

  &-logo {
    width: 32px;
    height: 32px;

    img {
      width: 100%;
    }
  }

  &-item {
    width: 40px;
    height: 40px;
    color: #5e6772;
    font-size: 20px;
    padding: 0;

    &:hover {
      color: #333437;
    }
  }

  &-sign-in {
    font-weight: bold;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    background: #78788f;
    color: #fff;
    text-align: center;
    font-size: 13px;
    line-height: 31px;
    margin-bottom: 12px;
    cursor: pointer;
  }

  &-phone {
    font-size: 22px;
    color: #5e6772;
    cursor: pointer;
  }

  &.hide {
    left: -60px;

    .smap-menu-hot {
      opacity: 1 !important;
      right: -26px;

      .hot-line1 {
        transform: rotate(-17deg) translateY(1px);
      }

      .hot-line2 {
        transform: rotate(17deg) translateY(-1px);
      }
    }
  }

  &:hover {
    .smap-menu-hot {
      opacity: 1;
    }
  }
}
